Public Class MailMerge
	Inherits TcKs.MSOffice.Common.ChildObjectWrapperBase
	
	Friend Sub New ( ByVal nativeObject As Global.System.Object,  ByVal rootObject As Global.TcKs.MSOffice.Common.RootObjectWrapperBase )
		MyBase.New ( nativeObject, rootObject )
	End Sub 
	
	Public Sub CreateDataSource( aName As Global.System.Object, aPasswordDocument As Global.System.Object, aWritePasswordDocument As Global.System.Object, aHeaderRecord As Global.System.Object, aMSQuery As Global.System.Object, aSQLStatement As Global.System.Object, aSQLStatement1 As Global.System.Object, aConnection As Global.System.Object, aLinkToSource As Global.System.Object )
		MyBase.WrappedObject.CreateDataSource( aName, aPasswordDocument, aWritePasswordDocument, aHeaderRecord, aMSQuery, aSQLStatement, aSQLStatement1, aConnection, aLinkToSource )
	End Sub 
	
	Public Sub CreateHeaderSource( aName As Global.System.String, aPasswordDocument As Global.System.Object, aWritePasswordDocument As Global.System.Object, aHeaderRecord As Global.System.Object )
		MyBase.WrappedObject.CreateHeaderSource( aName, aPasswordDocument, aWritePasswordDocument, aHeaderRecord )
	End Sub 
	
	Public Sub OpenDataSource2000( aName As Global.System.String, aFormat As Global.System.Object, aConfirmConversions As Global.System.Object, aReadOnly As Global.System.Object, aLinkToSource As Global.System.Object, aAddToRecentFiles As Global.System.Object, aPasswordDocument As Global.System.Object, aPasswordTemplate As Global.System.Object, aRevert As Global.System.Object, aWritePasswordDocument As Global.System.Object, aWritePasswordTemplate As Global.System.Object, aConnection As Global.System.Object, aSQLStatement As Global.System.Object, aSQLStatement1 As Global.System.Object )
		MyBase.WrappedObject.OpenDataSource2000( aName, aFormat, aConfirmConversions, aReadOnly, aLinkToSource, aAddToRecentFiles, aPasswordDocument, aPasswordTemplate, aRevert, aWritePasswordDocument, aWritePasswordTemplate, aConnection, aSQLStatement, aSQLStatement1 )
	End Sub 
	
	Public Sub OpenHeaderSource2000( aName As Global.System.String, aFormat As Global.System.Object, aConfirmConversions As Global.System.Object, aReadOnly As Global.System.Object, aAddToRecentFiles As Global.System.Object, aPasswordDocument As Global.System.Object, aPasswordTemplate As Global.System.Object, aRevert As Global.System.Object, aWritePasswordDocument As Global.System.Object, aWritePasswordTemplate As Global.System.Object )
		MyBase.WrappedObject.OpenHeaderSource2000( aName, aFormat, aConfirmConversions, aReadOnly, aAddToRecentFiles, aPasswordDocument, aPasswordTemplate, aRevert, aWritePasswordDocument, aWritePasswordTemplate )
	End Sub 
	
	Public Sub Execute( aPause As Global.System.Object )
		MyBase.WrappedObject.Execute( aPause )
	End Sub 
	
	Public Sub Check(  )
		MyBase.WrappedObject.Check(  )
	End Sub 
	
	Public Sub EditDataSource(  )
		MyBase.WrappedObject.EditDataSource(  )
	End Sub 
	
	Public Sub EditHeaderSource(  )
		MyBase.WrappedObject.EditHeaderSource(  )
	End Sub 
	
	Public Sub EditMainDocument(  )
		MyBase.WrappedObject.EditMainDocument(  )
	End Sub 
	
	Public Sub UseAddressBook( aType As Global.System.String )
		MyBase.WrappedObject.UseAddressBook( aType )
	End Sub 
	
	Public Sub OpenDataSource( aName As Global.System.String, aFormat As Global.System.Object, aConfirmConversions As Global.System.Object, aReadOnly As Global.System.Object, aLinkToSource As Global.System.Object, aAddToRecentFiles As Global.System.Object, aPasswordDocument As Global.System.Object, aPasswordTemplate As Global.System.Object, aRevert As Global.System.Object, aWritePasswordDocument As Global.System.Object, aWritePasswordTemplate As Global.System.Object, aConnection As Global.System.Object, aSQLStatement As Global.System.Object, aSQLStatement1 As Global.System.Object, aOpenExclusive As Global.System.Object, aSubType As Global.System.Object )
		MyBase.WrappedObject.OpenDataSource( aName, aFormat, aConfirmConversions, aReadOnly, aLinkToSource, aAddToRecentFiles, aPasswordDocument, aPasswordTemplate, aRevert, aWritePasswordDocument, aWritePasswordTemplate, aConnection, aSQLStatement, aSQLStatement1, aOpenExclusive, aSubType )
	End Sub 
	
	Public Sub OpenHeaderSource( aName As Global.System.String, aFormat As Global.System.Object, aConfirmConversions As Global.System.Object, aReadOnly As Global.System.Object, aAddToRecentFiles As Global.System.Object, aPasswordDocument As Global.System.Object, aPasswordTemplate As Global.System.Object, aRevert As Global.System.Object, aWritePasswordDocument As Global.System.Object, aWritePasswordTemplate As Global.System.Object, aOpenExclusive As Global.System.Object )
		MyBase.WrappedObject.OpenHeaderSource( aName, aFormat, aConfirmConversions, aReadOnly, aAddToRecentFiles, aPasswordDocument, aPasswordTemplate, aRevert, aWritePasswordDocument, aWritePasswordTemplate, aOpenExclusive )
	End Sub 
	
	Public Sub ShowWizard( aInitialState As Global.System.Object, aShowDocumentStep As Global.System.Object, aShowTemplateStep As Global.System.Object, aShowDataStep As Global.System.Object, aShowWriteStep As Global.System.Object, aShowPreviewStep As Global.System.Object, aShowMergeStep As Global.System.Object )
		MyBase.WrappedObject.ShowWizard( aInitialState, aShowDocumentStep, aShowTemplateStep, aShowDataStep, aShowWriteStep, aShowPreviewStep, aShowMergeStep )
	End Sub 
	
	Public ReadOnly Property Application As Global.TcKs.MSOffice.Word.Application
		Get 
			Dim ret As Global.TcKs.MSOffice.Word.Application =  Me.FindTopRootObject()
			Return ret
		End Get 
	End Property 
	
	Public ReadOnly Property Creator As Global.System.Int32
		Get 
			Return MyBase.WrappedObject.Creator
		End Get 
	End Property 
	
	Public ReadOnly Property Parent As Global.System.Object
		Get 
			Return MyBase.WrappedObject.Parent
		End Get 
	End Property 
	
	Public Property MainDocumentType As Global.TcKs.MSOffice.Word.WdMailMergeMainDocType
		Get 
			Return MyBase.WrappedObject.MainDocumentType
		End Get 
		Set ( ByVal Value As Global.TcKs.MSOffice.Word.WdMailMergeMainDocType )
			MyBase.WrappedObject.MainDocumentType = Value 
		End Set 
	End Property 
	
	Public ReadOnly Property State As Global.TcKs.MSOffice.Word.WdMailMergeState
		Get 
			Return MyBase.WrappedObject.State
		End Get 
	End Property 
	
	Public Property Destination As Global.TcKs.MSOffice.Word.WdMailMergeDestination
		Get 
			Return MyBase.WrappedObject.Destination
		End Get 
		Set ( ByVal Value As Global.TcKs.MSOffice.Word.WdMailMergeDestination )
			MyBase.WrappedObject.Destination = Value 
		End Set 
	End Property 
	
	Public ReadOnly Property DataSource As Global.TcKs.MSOffice.Word.MailMergeDataSource
		Get 
			Dim nativeObject As Global.System.Object = MyBase.WrappedObject.DataSource
			Dim ret As New Global.TcKs.MSOffice.Word.MailMergeDataSource( nativeObject, Me.RootObject )
			Return ret
		End Get 
	End Property 
	
	Public ReadOnly Property Fields As Global.TcKs.MSOffice.Word.MailMergeFields
		Get 
			Dim nativeObject As Global.System.Object = MyBase.WrappedObject.Fields
			Dim ret As New Global.TcKs.MSOffice.Word.MailMergeFields( nativeObject, Me.RootObject )
			Return ret
		End Get 
	End Property 
	
	Public Property ViewMailMergeFieldCodes As Global.System.Int32
		Get 
			Return MyBase.WrappedObject.ViewMailMergeFieldCodes
		End Get 
		Set ( ByVal Value As Global.System.Int32 )
			MyBase.WrappedObject.ViewMailMergeFieldCodes = Value 
		End Set 
	End Property 
	
	Public Property SuppressBlankLines As Global.System.Boolean
		Get 
			Return MyBase.WrappedObject.SuppressBlankLines
		End Get 
		Set ( ByVal Value As Global.System.Boolean )
			MyBase.WrappedObject.SuppressBlankLines = Value 
		End Set 
	End Property 
	
	Public Property MailAsAttachment As Global.System.Boolean
		Get 
			Return MyBase.WrappedObject.MailAsAttachment
		End Get 
		Set ( ByVal Value As Global.System.Boolean )
			MyBase.WrappedObject.MailAsAttachment = Value 
		End Set 
	End Property 
	
	Public Property MailAddressFieldName As Global.System.String
		Get 
			Return MyBase.WrappedObject.MailAddressFieldName
		End Get 
		Set ( ByVal Value As Global.System.String )
			MyBase.WrappedObject.MailAddressFieldName = Value 
		End Set 
	End Property 
	
	Public Property MailSubject As Global.System.String
		Get 
			Return MyBase.WrappedObject.MailSubject
		End Get 
		Set ( ByVal Value As Global.System.String )
			MyBase.WrappedObject.MailSubject = Value 
		End Set 
	End Property 
	
	Public Property HighlightMergeFields As Global.System.Boolean
		Get 
			Return MyBase.WrappedObject.HighlightMergeFields
		End Get 
		Set ( ByVal Value As Global.System.Boolean )
			MyBase.WrappedObject.HighlightMergeFields = Value 
		End Set 
	End Property 
	
	Public Property MailFormat As Global.TcKs.MSOffice.Word.WdMailMergeMailFormat
		Get 
			Return MyBase.WrappedObject.MailFormat
		End Get 
		Set ( ByVal Value As Global.TcKs.MSOffice.Word.WdMailMergeMailFormat )
			MyBase.WrappedObject.MailFormat = Value 
		End Set 
	End Property 
	
	Public Property ShowSendToCustom As Global.System.String
		Get 
			Return MyBase.WrappedObject.ShowSendToCustom
		End Get 
		Set ( ByVal Value As Global.System.String )
			MyBase.WrappedObject.ShowSendToCustom = Value 
		End Set 
	End Property 
	
	Public Property WizardState As Global.System.Int32
		Get 
			Return MyBase.WrappedObject.WizardState
		End Get 
		Set ( ByVal Value As Global.System.Int32 )
			MyBase.WrappedObject.WizardState = Value 
		End Set 
	End Property 
	
End Class 
